package com.lanou.myapp.comic.recommendedcomic;

import java.util.List;

/**
 * Created by dllo on 16/1/14.
 */
public class ComicsBeans {
    private int code;
    private DataEntity data;
    private String error;

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setError(String error) {
        this.error = error;
    }

    public int getCode() {
        return code;
    }

    public DataEntity getData() {
        return data;
    }

    public String getError() {
        return error;
    }



    public static class DataEntity {
        private List<ComicsEntity> comics;

        public void setComics(List<ComicsEntity> comics) {
            this.comics = comics;
        }

        public List<ComicsEntity> getComics() {
            return comics;
        }



        public static class ComicsEntity {
            private String comic_id;
            private String topic_id;
            private String title;
            private String post_type;
            private String url;
            private String cover_image_url;
            private String comics_count;
            private String comments_count;
            private String likes_count;
            private String favorite_count;
            private String shared_count;
            private String updated_at;
            private TopicEntity topic;
            private int is_favourite;
            private int is_liked;
            private int is_topic_follow;

            public void setComic_id(String comic_id) {
                this.comic_id = comic_id;
            }

            public void setTopic_id(String topic_id) {
                this.topic_id = topic_id;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public void setPost_type(String post_type) {
                this.post_type = post_type;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public void setCover_image_url(String cover_image_url) {
                this.cover_image_url = cover_image_url;
            }

            public void setComics_count(String comics_count) {
                this.comics_count = comics_count;
            }

            public void setComments_count(String comments_count) {
                this.comments_count = comments_count;
            }

            public void setLikes_count(String likes_count) {
                this.likes_count = likes_count;
            }

            public void setFavorite_count(String favorite_count) {
                this.favorite_count = favorite_count;
            }

            public void setShared_count(String shared_count) {
                this.shared_count = shared_count;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public void setTopic(TopicEntity topic) {
                this.topic = topic;
            }

            public void setIs_favourite(int is_favourite) {
                this.is_favourite = is_favourite;
            }

            public void setIs_liked(int is_liked) {
                this.is_liked = is_liked;
            }

            public void setIs_topic_follow(int is_topic_follow) {
                this.is_topic_follow = is_topic_follow;
            }

            public String getComic_id() {
                return comic_id;
            }

            public String getTopic_id() {
                return topic_id;
            }

            public String getTitle() {
                return title;
            }

            public String getPost_type() {
                return post_type;
            }

            public String getUrl() {
                return url;
            }

            public String getCover_image_url() {
                return cover_image_url;
            }

            public String getComics_count() {
                return comics_count;
            }

            public String getComments_count() {
                return comments_count;
            }

            public String getLikes_count() {
                return likes_count;
            }

            public String getFavorite_count() {
                return favorite_count;
            }

            public String getShared_count() {
                return shared_count;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public TopicEntity getTopic() {
                return topic;
            }

            public int getIs_favourite() {
                return is_favourite;
            }

            public int getIs_liked() {
                return is_liked;
            }

            public int getIs_topic_follow() {
                return is_topic_follow;
            }



            public static class TopicEntity {
                private String topic_id;
                private String user_id;
                private String title;
                private String description;
                private String cover_image_url;
                private String vertical_image_url;
                private String created_at;
                private String updated_at;
                private int is_favourite;
                private UserEntity user;

                public void setTopic_id(String topic_id) {
                    this.topic_id = topic_id;
                }

                public void setUser_id(String user_id) {
                    this.user_id = user_id;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public void setDescription(String description) {
                    this.description = description;
                }

                public void setCover_image_url(String cover_image_url) {
                    this.cover_image_url = cover_image_url;
                }

                public void setVertical_image_url(String vertical_image_url) {
                    this.vertical_image_url = vertical_image_url;
                }

                public void setCreated_at(String created_at) {
                    this.created_at = created_at;
                }

                public void setUpdated_at(String updated_at) {
                    this.updated_at = updated_at;
                }

                public void setIs_favourite(int is_favourite) {
                    this.is_favourite = is_favourite;
                }

                public void setUser(UserEntity user) {
                    this.user = user;
                }

                public String getTopic_id() {
                    return topic_id;
                }

                public String getUser_id() {
                    return user_id;
                }

                public String getTitle() {
                    return title;
                }

                public String getDescription() {
                    return description;
                }

                public String getCover_image_url() {
                    return cover_image_url;
                }

                public String getVertical_image_url() {
                    return vertical_image_url;
                }

                public String getCreated_at() {
                    return created_at;
                }

                public String getUpdated_at() {
                    return updated_at;
                }

                public int getIs_favourite() {
                    return is_favourite;
                }

                public UserEntity getUser() {
                    return user;
                }

                public static class UserEntity {
                    private String id;
                    private String nickname;
                    private String avatar_url;
                    private String reg_type;
                    private String signature;
                    private String description;
                    private String profile;

                    public void setId(String id) {
                        this.id = id;
                    }

                    public void setNickname(String nickname) {
                        this.nickname = nickname;
                    }

                    public void setAvatar_url(String avatar_url) {
                        this.avatar_url = avatar_url;
                    }

                    public void setReg_type(String reg_type) {
                        this.reg_type = reg_type;
                    }

                    public void setSignature(String signature) {
                        this.signature = signature;
                    }

                    public void setDescription(String description) {
                        this.description = description;
                    }

                    public void setProfile(String profile) {
                        this.profile = profile;
                    }

                    public String getId() {
                        return id;
                    }

                    public String getNickname() {
                        return nickname;
                    }

                    public String getAvatar_url() {
                        return avatar_url;
                    }

                    public String getReg_type() {
                        return reg_type;
                    }

                    public String getSignature() {
                        return signature;
                    }

                    public String getDescription() {
                        return description;
                    }

                    public String getProfile() {
                        return profile;
                    }
                }
            }
        }
    }
}
